<?php
// +----------------------------------------------------------------------
// | B5Yii2CMF V3.0 [快捷通用基础管理开发平台]
// +----------------------------------------------------------------------
// | Author: 冰舞 <357145480@qq.com>
// +----------------------------------------------------------------------

namespace api\modules\v1\controllers;


use api\modules\v1\ApiController;


/**
 * 需要进行接口检测的示例
 * Class PublicController
 * @package api\modules\v1\controllers
 */
class PublicController extends ApiController
{


    public function actionIndex(){


       return $this->success();
   }

   public function actionZan(){
        if ($this->user_id>0){

        } else {

        }
   }
}
